"use strict";
module.exports = ({ router, controller, jwt }) => {
  router.post("/users/list", jwt, controller.user.find);
  router.post("/users/create", controller.user.create);
  router.post("/users/deleteOne", controller.user.deleteOne);
  router.post("/users/update", controller.user.update);
  router.post("/users/login", controller.user.login);
  router.post("/users/upload", controller.user.upload);
  router.get("/users/download", controller.user.download);
  router.get("/users/export", controller.user.export);
  // router.get("/users/fetch", controller.user.fetch);
};
